package com.yw.service;

import com.yw.entity.User;

import java.util.List;

/**
 * Created By 张永伟 on 2018/5/31.
 */
public interface UserService {

    User getUserById(Integer id);

    List<User> getUserList();

    int add(User user);

    int update(Integer id, User user);

    int delete(Integer id);
}